package com.example.rbacmanage.entity.system;

import com.example.rbacmanage.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户角色关系表
 */
public class UserRole extends BaseEntity {
    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 用户ID
     */
    private Long userId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
